package vn.edu.saigontech.ncms.web.study;

import vn.edu.saigontech.ncms.service.OfferingService;
import vn.edu.saigontech.ncms.web.BaseAction;

@SuppressWarnings("serial")
public class CheckingAttendanceAction extends BaseAction {

	private Long offeringId;
	private String date;
	
	public String showChecking() {
		REQUEST().setAttribute("offering", OfferingService.INSTANCE.findById(this.offeringId));
		return SUCCESS;
	}
	
	public String checking() {
		REQUEST().setAttribute("offering", OfferingService.INSTANCE.findById(this.offeringId));
		return SUCCESS;
	}

	public Long getOfferingId() {
		return offeringId;
	}

	public void setOfferingId(Long offeringId) {
		this.offeringId = offeringId;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}
}
